#include "Particle.h"

Particle::Particle()
{
	m_fLifetime = PARTICLE_DEFAULT_LIFETIME;
	m_fAge = PARTICLE_DEFAULT_AGE;
}

Particle::~Particle()
{
}

void Particle::Update(float elapsedTime)
{
}

const float Particle::GetLifetime() const
{
	return m_fLifetime;
}

const float Particle::GetAge() const
{
	return m_fAge;
}

const Color4 Particle::GetColor() const
{
	return m_oColor;
}

const Vector2f Particle::GetScale() const
{
	return m_vScale;
}

const bool Particle::IsAlive() const
{
	return m_fAge <= m_fLifetime;
}

const bool Particle::IsDead() const
{
	return m_fAge > m_fLifetime;
}